feat(ci): set up frontend CI pipeline with lint, type-check, and build (#69) - #178
Closed
Femology wants to merge 1 commit into
Closed
feat(ci): set up frontend CI pipeline with lint, type-check, and build (#69)#178Femology wants to merge 1 commit into
Femology wants to merge 1 commit into
Conversation
…d build (closes #69)
|
@Femology Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up an automated GitHub Actions CI pipeline for the frontend (
frontend/) to enforce quality gates (linting, TypeScript checking, unit testing with coverage, and production build) on pull requests targetingmainand direct pushes tomain.Closes #69
Type of Change
feat— new featurechore— build, deps, configfix— bug fix (fixed existing TS/ESLint errors preventing clean CI runs)What Changed
.github/workflows/frontend-ci.ymlmain, caching node modules viaactions/cachekeyed onfrontend/pnpm-lock.yaml, runningpnpm install --frozen-lockfile,pnpm lint,pnpm tsc --noEmit,pnpm test:coverage, andpnpm build, uploading coverage artifact and build artifact underFrontend CIstatus check.github/workflows/docs-ci.ymlfrontend-ci.ymlfrontend/.eslintrc.jsonnext/core-web-vitalsfrontend/package.jsoneslint&eslint-config-nextdevDependencies andtest:coveragescriptfrontend/app/profile/page.tsxTradeStatusrecord missingDisputedmappingfrontend/app/trades/[id]/TradeDetailClient.tsxTradeOffer["status"]missingDisputedand unescaped quotesfrontend/app/auth/signup/page.tsxfrontend/app/wallet/WithdrawModal.tsxuseCallbackto satisfy hook dependenciesfrontend/app/page.tsxapps/docs-site/next.config.mjs&pages/deployment.mdxdocs-ci.ymlHow to Test
cd frontend pnpm install --frozen-lockfile pnpm lint pnpm tsc --noEmit pnpm test:coverage pnpm buildChecklist
General
tsc --noEmit)